from sqlalchemy import Column, Integer, Table, ForeignKey

from common.database import Base

__all__ = ['AuthRolesPermissions']

AuthRolesPermissions = Table('auth_roles_permissions', Base.metadata,
                             Column('auth_roles_uuid', Integer, ForeignKey('auth_roles.uuid'), primary_key=True),
                             Column('auth_permissions_uuid', Integer, ForeignKey('auth_permissions.uuid'),
                                    primary_key=True), extend_existing=True)
